package com.seata.demo.seatarole.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "seata-user",fallback = UserFeignImpl.class)
public interface UserFeign {
    @GetMapping("/testFeign")
    String testFeign(@RequestParam("id") String id);
}
